<template>
    <Breadcrumb>
        <BreadcrumbItem
            v-for="item in $store.state.app.currentPath"
            :href="item.path"
            :key="item.name"
        >{{item.title}}</BreadcrumbItem>
    </Breadcrumb>
</template>

<script>
export default {
    name: 'breadcrumbNav',
    props: {
        currentPath: Array
    }
};
</script>

